package cn.hicard.risk.dao.bd;

import java.util.List;

import cn.hicard.risk.entity.BdPeriodfreeze;

public interface PeriodFreezeDao {
	
	/**
	 * 保存冻结数据
	 */
	public void save(BdPeriodfreeze periodfreeze) throws Exception;
	
	/**
	 * 更新冻结数据
	 */
	public void updateList(List<BdPeriodfreeze> list) throws Exception;
	
	/**
	 * 根据条件查询交易数据集合
	 */
	public List<BdPeriodfreeze> findList(BdPeriodfreeze start, BdPeriodfreeze end) throws Exception;

	
	public List<String> findLastDate(String date) throws Exception;
	
	public void updateFreezeState(BdPeriodfreeze periodfreeze) throws Exception;
	
	public boolean existPos(int pkTradefileinfo) throws Exception;
}
